const TokenKey = 'postal'

export function getToken() {
  // return 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE1MDI3OTM3OTgsInBheWxvYWQiOiJ7XCJpZFwiOjEsXCJ1c2VybmFtZVwiOlwiYWRtaW5cIixcInB3ZFwiOlwiZjg3YjY0ZmMwOGJlODg3ODQ2ZjhjY2JhN2E4NDg2MmJcIixcInNhbHRcIjpcInRkempcIixcInJlYWxuYW1lXCI6XCJjY3F4XCIsXCJ3eFwiOm51bGwsXCJjcmVhdGVUaW1lXCI6MTU4OTE0NjA4MTAwMCxcInVwZGF0ZVRpbWVcIjoxNTkwNTMyNjc2MDAwLFwibG9naW5JcFwiOlwiMTgwLjE1Ni4yMDYuMTE2XCIsXCJsb2dpbkRhdGVcIjoxNTkwODk3OTkzNzcyLFwicGhvdG9cIjpudWxsLFwic3RhdHVzXCI6MX0ifQ.9e3aUAoR1U2g96-kkRG1LaZn_2poSdpEPiM0HEP8eN8'
  return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken() {
  return uni.removeStorageSync(TokenKey)
}